package cn.icanci.loopstack.bic.dal.mongo.daointerface;

import cn.icanci.loopstack.bic.dal.mongo.dateobject.NodeStyleDO;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/13 23:30
 */
public interface NodeStyleDAO extends BaseDAO<NodeStyleDO> {
    /** 文档对应的名字  */
    String             COLLECTION_NAME  = BASE_COLLECTION_NAME + "node-style";
    /** 文档对应的Class */
    Class<NodeStyleDO> COLLECTION_CLASS = NodeStyleDO.class;

    NodeStyleDO queryBySystemUuidAndName(String systemUuid, String name);

    NodeStyleDO queryBySystemUuidAndKey(String systemUuid, String key);

    NodeStyleDO queryByUuid(String styleUuid);

    /** 列 */
    interface NodeStyleColumn extends BaseColumn {
        String SYSTEM_UUID     = "systemUuid";
        String NODE_STYLE_NAME = "nodeStyleName";
        String NODE_STYLE_KEY  = "nodeStyleKey";
        String NODE_STYLE      = "nodeStyle";
    }
}
